<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <h1>张繁荣</h1>
    <script src="js/echarts.min.js"></script>
    <div id="main" style="width: 600px; height: 400px"></div>
    <script type="text/javascript">
      var myChart = echarts.init(document.getElementById("main"));
      var option = {
        series: [
          {
            type: "pie",
            radius: "25%",
            center: "120",
            data: [
              { value: 258, name: "视频广告" },
              { value: 369, name: "联盟广告" },
              { value: 741, name: "直接访问" },
              { value: 456, name: "搜索引擎" },
              { value: 987, name: "邮箱营销" },
            ],
          },
          {
            type: "pie",
            radius: "30%",
            data: [
              { value: 111, name: "视频广告" },
              { value: 222, name: "联盟广告" },
              { value: 333, name: "邮件营销" },
              { value: 444, name: "直接访问" },
              { value: 555, name: "搜索引擎" },
            ],
          },
        ],
      };
      myChart.setOption(option);
    </script>
  </body>
</html>